package cn.nohan.funplay.module.member.mongo;

import cn.nohan.funplay.module.member.mongo.service.LocationService;
import com.mongoplus.annotation.MongoMapperScan;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author caozhipeng
 * @date 2025/7/11
 */
@SpringBootApplication
@MongoMapperScan("cn.nohan.funplay.module.member.mongo")
@EnableAspectJAutoProxy(exposeProxy = true)
public class MongoApplication {

    public static void main(String[] args) {
        SpringApplication.run(MongoApplication.class);
    }

//    @Bean
//    CommandLineRunner runner(LocationService locationService) {
//        return args -> {
////            locationService.init();
////            locationService.performGeoQueries();
//        };
//    }


}

